import java.util.Arrays;
import java.util.Scanner;

public class _01_SortingArrayOfNumbers {
	
	public static void main(String[] args) {
		
		Scanner inputCS = new Scanner(System.in);
		
		int n = inputCS.nextInt();
		int[] sampleArray = new int[n];
		
		for (int i = 0; i < sampleArray.length; i++) {
			
			sampleArray[i] = inputCS.nextInt();
		}
		
		inputCS.close();
		
		Arrays.sort(sampleArray);
		
		for (int i = 0; i < sampleArray.length; i++) {
			
			System.out.println(sampleArray[i]);
		}
	}
}